//
//  CmtActivityTableViewCell.m
//  Products_B
//
//  Created by lanou on 16/6/2.
//  Copyright © 2016年 朋学友. All rights reserved.
//

#import "CmtActivityTableViewCell.h"

@implementation CmtActivityTableViewCell

-(void)setModel:(CmtActModel *)model{

    [self.coverimg sd_setImageWithURL:[NSURL URLWithString:model.image]];
    self.join_count.text = [NSString stringWithFormat:@"%ld人参与",(long)[model.user_count integerValue]];
    self.end_time.text = [NSString stringWithFormat:@"还剩下%ld天",(long)[model.end_time_left integerValue] / 60 / 24 / 60];
}



- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
